package com.mxf.code.strategy_factory.enums;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum StatisticalIndicatorsEnum {
    /**
     * 肉
     */
    MEAT(1, "肉", "meatAnalysisTableService"),
    /**
     * 水果
     */
    FRUIT(2, "水果", "fruitAnalysisTableService"),
    /**
     * 蔬菜
     */
    VEGETABLE(3, "蔬菜", "vegetableAnalysisTableService"),
    /**
     * 饮料
     */
    BEVERAGE(4, "饮料", "beverageAnalysisTableService");

    /**
     * 编码
     */
    private final Integer code;
    /**
     * 注释
     */
    private final String desc;
    /**
     * 对应策略
     */
    private final String strategyName;
}